<?xml version="1.0" encoding="ISO-8859-1" ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<h:form xmlns="http://www.w3.org/1999/xhtml"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:a4j="http://richfaces.org/a4j">
	
	<rich:toolBar id="toolBarHeader">
		<div style="width:100%;">
			<rich:toolBarGroup location="left">
				<h:outputLink value="#{request.contextPath}">
					<rich:menuItem iconClass="menu_icone" style="padding-left: 30px;" submitMode="ajax" value="#{bundle.header_inicio}" />
				</h:outputLink>

			</rich:toolBarGroup>
			<rich:toolBarGroup location="right">
				<h:outputText value="#{sistemaSession.usuarioLogado.funcionarioVO.nome} (#{sistemaSession.usuarioLogado.usuario})" style="padding-right: 20px;"/>

				<!-- <a class="header_link" href="#{request.contextPath}">Alterar Senha</a> -->
				<a class="header_link" href="#{request.contextPath}/j_spring_security_logout">
					Logout
					<a4j:support event="oncomplete" actionListener="#{sistemaSession.limparUsuarioLogado}" />
				</a>
			</rich:toolBarGroup>
		</div>
	</rich:toolBar>
	
</h:form>